import $ from 'jquery'
$('#myUL>li:odd').css('color', 'red')
$('#myUL>li:even').css('color', 'green')
// 引入css文件
import "./css/index.css"
//引入less文件
import "./less/index.less"

//手动引入一个图片文件
//在webpack眼里万物皆模块
import imgObj from './assets/1.gif'
let tu = document.createElement('img')
tu.src = imgObj
document.body.appendChild(tu)



//引入字体图标样式文件
import "./assets/fonts/iconfont.css"
let zheI = document.createElement('i')
zheI.className = 'iconfont icon-qq'
document.body.appendChild(zheI)



//引入vue
const fn = () => { console.log('这是一个箭头函数'); }
console.log(fn);
console.log('一行新的代码');
import App from './App.vue'
console.log(App);